package com.ny.wlw;

public class Animal {
    int a = 10;
    int b = 4;
    private String name1;
    private int age1;
    private String color;
    public void setColor(String color){
        this.color=color;
    }
    public String getColor(){
        return color;
    }
    public void play(){
        System.out.println("发出声音");
    }
    public void setName1(String name1){
        this.name1=name1;
    }
    public String getName1(){
        return name1;
    }
    public void setAge1(int age){
        this.age1=age1;
    }
    public int getAge1(){
        return age1;
    }
}
